using System;
using System.Collections.Generic;
using System.Text;

namespace Infrastructure.Aspect.Services.Traslator
{
    [Serializable]
    public class EntityTranslatorException : Exception
    {
        public EntityTranslatorException() : base() { }
        public EntityTranslatorException(string message) : base(message) { }
        public EntityTranslatorException(string message, Exception innerException) : base(message, innerException) { }
        public EntityTranslatorException(Type from, Type to)
            : base("error convert from " + from.Name + " to " + to.Name)
        {

        }
    }
}
